/**
 * Registration.java
 *
 * @author Beatrice Bacelli
 * @author Luca Bedogni
 * @author Silvia Righini
 */
package unibo.lsb.communication;

import java.rmi.RemoteException;
import java.util.List;

import unibo.lsb.exception.TokioException;
import unibo.lsb.server.Game;

public interface Registration {

	public List<Game> connectToServer() throws RemoteException, TokioException;

	boolean chooseGame(String game, String username, String password)
			throws TokioException;

	boolean createGameOnServer(String gameName, int players)
			throws TokioException;

}